package com.itheima.cosumer;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDubbo(scanBasePackages = "com.itheima.cosumer.controller")
public class CosumerMain {
    public static void main(String[] args) {
        SpringApplication.run(CosumerMain.class,args);
        System.out.println("消费者启动了----");
    }
}
